<template>
	<div></div>
</template>

<script>
export default {
	beforeCreate() {
		let dom = document.getElementsByTagName("html");
		dom = dom[0] || dom;
		if (dom) dom.setAttribute("style", `font-size: ${dom.offsetWidth / 750}px`);
	},
	beforeDestroy() {
		let dom = document.getElementsByTagName("html");
		dom = dom[0] || dom;
		if (dom) dom.setAttribute("style", "");
	},
	mounted() {
		document.addEventListener("UniAppJSBridgeReady", function () {});
		this.initPage();
	},
	methods: {
		initPage() {},
		onBack() {
			setTimeout(() => {
				uni.navigateBack();
			}, 1);
		},
	},
};
</script>

<style lang="less" scoped></style>

